-----------------------------------
-- Area: Maze of Shakhrami
--   NM: Leech King
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("scripts/globals/keyitems");

-----------------------------------	
-- onMobDeath	
-----------------------------------	

function onMobDeath(mob,killer)	

-- Drop crafting key item BY TROAK
  if((killer:hasKeyItem(WONDER_ARMOR_CLAIM_SLIP) == false) and (killer:getRace() == 6)) then
	killer:addKeyItem(WONDER_ARMOR_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,WONDER_ARMOR_CLAIM_SLIP);
  end 
  if((killer:hasKeyItem(WONDER_ARMOR_CLAIM_SLIP) == false) and (killer:getRace() == 5)) then
	killer:addKeyItem(WONDER_ARMOR_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,WONDER_ARMOR_CLAIM_SLIP);
  end 

  if((killer:hasKeyItem(SAVAGE_ARMOR_CLAIM_SLIP) == false) and (killer:getRace() == 7)) then
	killer:addKeyItem(SAVAGE_ARMOR_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,SAVAGE_ARMOR_CLAIM_SLIP);
  end 
  if((killer:getSkillLevel(55) > 299) and (killer:hasKeyItem(ALCHEMIC_PURIFICATION) == false)) then
	killer:addKeyItem(ALCHEMIC_PURIFICATION);
	killer:messageSpecial(KEYITEM_OBTAINED,ALCHEMIC_PURIFICATION);
  end

end;